* {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    min-width: 1260px;
    height: 120px;
    align-items: center;
    background-color: royalblue;
    padding: 10px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.nav-top {
    width: 1260px;
    margin: 0 auto;
    display: flex;
}

.logo {
    flex: 1;
}

.logo img {
    width: 240px;
    height: auto;
    margin-left: 30px;
}

.user-info {
    flex: 3;
    text-align: right;
    padding-right: 20px;
    font-size: 18px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.user-info-con {
    width: 350px;
    text-align: left;
    font-weight: bold;
}

.user-info a {
    display: inline-block;
    width: 90px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 5px;
    color: #313131;
    background-color: #ffffff;
    margin-left: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.user-info a:hover {
    background-color: #313131;
    color: #ffffff;
    font-weight: bold;
}

main {
    width: 1260px;
    padding: 20px;
    padding-bottom: 50px;
    min-height: 780px;
    background-color: #f5f5f5;
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-main {
    display: flex;
}

.nav-main-item {
    flex: 1;
    text-align: center;
    font-size: 18px;
    color: #313131;
}

/* 侧边导航栏 */
.aside-navbar {
    width: 178px;
    min-height: 600px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-top: 10px;
    float: left;
    background-color: #ffffff80;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 888;
}

.aside-navbar p {
    width: 75%;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin: 5px auto 0;
    border-bottom: 1px solid #ccc;
}

.aside-navbar ul {
    padding: 0;
    width: 75%;
    margin: 10px auto 0;
}

.aside-navbar ul a {
    text-decoration: none;
    color: black;
}

.aside-navbar ul a li {
    height: 30px;
    line-height: 30px;
    margin: 5px 0;
    text-align: center;
    border-bottom: 1px dotted #ccc;
}

.aside-navbar ul a li:hover,
.li-c {
    background-color: rgba(95, 158, 160, 0.37);
    border-radius: 5px;
}

/* 主要内容 */
.main-content {
    margin-top: 10px;
    margin-left: 5px;
    margin-bottom: 70px;
    width: 1035px;
    float: left;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.main-content-title {
    width: 100%;
    height: 35px;
    line-height: 35px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
}

/* 底部 */
footer {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #333;
    color: #fff;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}